package cn.edu.dlmu.cogo.framework.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author yixi
 * 标记在类或方法上
 * 用以标记API路径
 * 默认采用类名或方法名
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.TYPE,ElementType.METHOD})
public @interface RequestMapping {

    String value() default "";

}
